﻿@model List<Web.Controllers.IndexController.HomeDoc>
@{
    Layout = null;
}
<table cellspacing="0" summary="table" class="broom_table">
    <tbody>
        <tr class="odd">
            <td>
                病历编号
            </td>
            <td>
                患者姓名
            </td>
            <td>
                随访
            </td>
            <td>
                填写人
            </td>
            <td>
                创建时间
            </td>
        </tr>
        @if (Model != null)
        {
            var o = 0;
            foreach (var HomeDoc in Model)
            {
                o++;
            <tr class="@(o % 2 == 0 ? "odd" : "even")">
                <td>
                    <a href="/doc/edit0?docid=@HomeDoc.Doc.DocID" title="随访截止日期:@HomeDoc.DeadLineTime.ToString("yyyy-MM-dd")">@HomeDoc.Doc.DocID</a>
                </td>
                <td>
                    <a href="/doc/edit0?docid=@HomeDoc.Doc.DocID" title="随访截止日期:@HomeDoc.DeadLineTime.ToString("yyyy-MM-dd")">@HomeDoc.PatientName</a>
                </td>
                <td>
                    <a href="/doc/edit0?docid=@HomeDoc.Doc.DocID" title="随访截止日期:@HomeDoc.DeadLineTime.ToString("yyyy-MM-dd")">@HomeDoc.VisitDesc</a>
                </td>
                <td>
                    <a href="/doc/edit0?docid=@HomeDoc.Doc.DocID" title="随访截止日期:@HomeDoc.DeadLineTime.ToString("yyyy-MM-dd")">@HomeDoc.UserName</a>
                </td>
                <td>
                    <a href="/doc/edit0?docid=@HomeDoc.Doc.DocID" title="随访截止日期:@HomeDoc.DeadLineTime.ToString("yyyy-MM-dd")">@HomeDoc.Doc.TimeAdd.ToString("yyyy-MM-dd")</a>
                </td>
            </tr>
            }
        }
    </tbody>
</table>
